package com.d0317;

public class CreateThreadByExtends extends Thread{
    @Override
    public void run() {
        System.out.println("7777777777");
        System.out.println(currentThread().getName());
    }

    public static void main(String[] args) {
        CreateThreadByExtends createThreadByExtends = new CreateThreadByExtends();

    }
}
